
<?php
ob_start();
session_start();

define('ROW_PER_PAGE',10);

require_once 'library/functions.php';

require_once 'classes/dbconn.class.php';
$db = new dbConn('localhost', 'root', 'asdf', 'onlinepc');

require_once 'classes/category.class.php';
$categoryClass = new category($db);


require_once 'classes/paging.class.php';
$pagingClass = new pagingClass();

require_once 'classes/product.class.php';
$productClass = new product($db, $pagingClass);

if(!empty($_SESSION['member_id'])){
    $query  = $db->query("SELECT * FROM member WHERE member_id=".@$_SESSION['member_id']);
    $myAcc  = $db->fetch($query);
}

?>


